package org.zoomdev.zoom.dao.adapters.parameter;

import org.zoomdev.zoom.dao.adapters.ParameterAdapter;

import java.sql.PreparedStatement;
import java.sql.SQLException;

// 短整型适配器
public class ShortParameterAdapter implements ParameterAdapter<Short> {


    @Override
    public void setNonnullParameter(PreparedStatement ps, int index, Short data) throws SQLException {
        ps.setShort(index, data);
    }
}
